add_executable(logging_test Logging_test.cpp)
target_link_libraries(logging_test muduo_base)

add_executable(logfile_test LogFile_test.cpp)
target_link_libraries(logfile_test muduo_base)

add_executable(asyncloggin_bench AsyncLogging_bench.cpp)
target_link_libraries(asyncloggin_bench muduo_base)

if(BOOSTTEST_LIBRARY)
    add_executable(logstream_test LogStream_test.cpp)
    target_link_libraries(logstream_test muduo_base boost_unit_test_framework)
    add_test(NAME logstream_test COMMAND logstream_test)
endif()

add_executable(exception_test Exception_test.cpp)
target_link_libraries(exception_test muduo_base)

add_executable(atomic_unittest Atomic_unittest.cpp)
target_link_libraries(atomic_unittest muduo_base)

add_executable(fileutil_test FileUtil_test.cpp)
target_link_libraries(fileutil_test muduo_base)

add_executable(asyncloging_test AsyncLogging_test.cpp)
target_link_libraries(asyncloging_test muduo_base)

add_executable(fork_test Fork_test.cpp)
target_link_libraries(fork_test muduo_base)

add_executable(mutex_test Mutex_test.cpp)
target_link_libraries(mutex_test muduo_base)

add_executable(processinfo_test ProcessInfo_test.cpp)
target_link_libraries(processinfo_test muduo_base)

add_executable(thread_test Thread_test.cpp)
target_link_libraries(thread_test muduo_base)

add_executable(thread_bench Thread_bench.cpp)
target_link_libraries(thread_bench muduo_base)

add_executable(nptl_test NPTL_test.cpp)
target_link_libraries(nptl_test muduo_base)

add_executable(threadlocal_test ThreadLocal_test.cpp)
target_link_libraries(threadlocal_test muduo_base)

add_executable(threadpool_test ThreadPool_test.cpp)
target_link_libraries(threadpool_test muduo_base)

add_executable(timestamp_unittest Timestamp_unittest.cpp)
target_link_libraries(timestamp_unittest muduo_base)

add_executable(timezone_unittest TimeZone_unittest.cpp)
target_link_libraries(timezone_unittest muduo_base)

add_executable(custome_test Custom_test.cpp)
target_link_libraries(custome_test muduo_base)

add_executable(BlockingQueue_test BlockingQueue_test.cpp)
target_link_libraries(BlockingQueue_test muduo_base)

add_executable(BoundedBlockingQueue_test BoundedBlockingQueue_test.cpp)
target_link_libraries(BoundedBlockingQueue_test muduo_base)

add_executable(BlockingQueue_bench BlockingQueue_bench.cpp)
target_link_libraries(BlockingQueue_bench muduo_base)

add_executable(BlockingQueue_bench2 BlockingQueue_bench2.cpp)
target_link_libraries(BlockingQueue_bench2 muduo_base)
